package com.niubility.server;



import com.niubility.entity.Lable;

import java.util.List;
import java.util.Set;

public interface ILabService {
    public boolean addLab(Lable lable);
    public boolean delLabById(int[] labIds);
    public boolean update(Lable lable);
    public boolean newArticle(int artId,int[] labId);
    public boolean changeUsernum(int labId,int value);
    public boolean reduceArt(int artId);
    public Lable loadLabById(int labId);
    public Set<Integer> loadAllArtId(int[] labIds);
    public List<Lable> loadAllLab();
    public List<Lable> loadNewCommu(int counts);
    public List<Lable> loadHotCommu(int index,int counts);
}
